package ${packageName}.module.${moduleName}.dto;

import ${packageName}.frame.plugins.module.dto.BaseDTO;
import lombok.*;
import lombok.experimental.Accessors;
<#list model_column as model>
	<#if (model.columnType = 'DECIMAL')>
		import java.math.BigDecimal;
	</#if>
	<#if (model.columnType = 'TIMESTAMP' || model.columnType = 'DATETIME')>
		import java.util.Date;
	</#if>
</#list>

/**
 * ${tableDesc}信息DTO对象
 *
 * @filename ${className}.java
 * @copyright www.unitd.com
 * @author ${author}
 * @version 1.0
 * @date ${date}
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class ${className}DTO extends BaseDTO {

<#if model_column?exists>
	<#list model_column as model>
	/** ${model.columnComment!} */
		<#if (model.columnType = 'BIT' || model.columnType = 'INT' || model.columnType = 'INTEGER')>
	private Integer ${model.changeColumnName?uncap_first};
		</#if>
		<#if (model.columnType = 'BIGINT')>
	private Long ${model.changeColumnName?uncap_first};
		</#if>
		<#if (model.columnType = 'DECIMAL')>
	private BigDecimal ${model.changeColumnName?uncap_first};
		</#if>
		<#if (model.columnType = 'CHAR' || model.columnType = 'VARCHAR' || model.columnType = 'TEXT')>
	private String ${model.changeColumnName?uncap_first};
		</#if>
		<#if (model.columnType = 'TIMESTAMP' || model.columnType = 'DATETIME')>
	private Date ${model.changeColumnName?uncap_first};
		</#if>
	</#list>
</#if>
}